import { RouterModule } from '@angular/router';

import { RouterCanService } from './shared/services/public/router-can/router-can.service';

/** 路由 */
export const appRoutes = [
  {
    path: '',
    canActivate: [RouterCanService],
    loadChildren: './main-panel/main-panel.module#MainPanelModule'
  },
  {
    path: 'login',
    loadChildren: './login/login.module#LoginModule'
  }
];
